package electricity.mapper;

import com.github.pagehelper.Page;
import electricity.domain.AlarmRecord;
import electricity.dto.AlarmDto;
import electricity.dto.AlarmQueryDto;
import electricity.vo.AlarmVO;
import electricity.vo.DeviceVO;

/**
* @author haoyi
* @description 针对表【alarm_record】的数据库操作Mapper
* @createDate 2025-07-09 16:01:31
* @Entity generator.domain.AlarmRecord
*/
public interface AlarmRecordMapper {

    int deleteByPrimaryKey(Long id);

    int insert(AlarmRecord record);

    int insertSelective(AlarmRecord record);

    AlarmRecord selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(AlarmRecord record);

    int updateByPrimaryKey(AlarmRecord record);

    Page<AlarmVO> pageQuery(AlarmQueryDto alarmQueryDto);

    void handle(AlarmDto alarmDto);
}
